package com.stone.framework.batch.writer;

import java.util.List;

import org.springframework.batch.item.ItemWriter;
import org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator;

public class ItemBatchWriterAdapter<T> extends AbstractMethodInvokingDelegator<T> implements ItemWriter<T> {

    @Override
    public void write(List<? extends T> items) throws Exception {
        invokeDelegateMethodWithArgument(items);
    }

}
